package com.qf.cx.simplenms.common.beans;

import java.net.URL;

import javax.annotation.PostConstruct;

import org.apache.log4j.xml.DOMConfigurator;

public class Log4j {
	@PostConstruct
	public void init() {
		URL resource = this.getClass().getClassLoader().getResource("log4j.xml");
		DOMConfigurator.configureAndWatch(resource.getPath(), 1000);
	}
}
